package bme.data.datatypes {
	import bme.data.BRC_DataType;

	/**
	 * 	String name;  
	int id;
	String location_string;
	String url;
	Object location_poly;
	String contact_email;
	Year year;
	Object location_point;
	String description;
	 * @author Rendall
	 */
	public class BRC_Camp extends BRC_DataType {
		public var id : int;
		public var name : String;
		public var location_string : String;
		public var url : String;
		public var location_poly : BRC_Location;
		public var contact_email : String;
		public var year : BRC_Year;
		public var location_point : BRC_Location;
		public var description : String;
		
		/**
		 * BRC_Camp Constructor
		 */
		public function BRC_Camp(dataObj : Object = null) {
			super(dataObj);
		}


		public static function getCamp(value : *) : BRC_Camp {
			// Event & Art asks for incomplete info.
			// This will allow 
			return new BRC_Camp(value);
		}
		
		public function toString() : String {
		        return "[BRC_Camp name: " + name + ",  id:" + id + "]";
		}
	}
}
